package com.java.main.controller;

import com.java.main.domain.KbmContent;

/**
 * 当前现成上下文环境
 * 
 * @author naida
 *
 */
public class KbmThreadLocal {
	static ThreadLocal<KbmContent> kbmContentThreadLocal = new ThreadLocal<KbmContent>();

	public static KbmContent getContent() {
		return kbmContentThreadLocal.get();
	}

	public static void setContent(KbmContent kbmContent) {
		kbmContentThreadLocal.set(kbmContent);
	}
}
